#include<stdio.h>
int main(void)
{
    int i;

    struct Test_str
    {
        char a[5];
        char b;
        short c;
        short e;
        int f;
        int g;
    } test1;
    for (i = 0; i < 5; i ++)
    {
        printf("The adress of test1.a[%d] is \t0x%x, the length \tis%d\n", i, &test1.a[i], sizeof(test1.a[i]));
    }
    printf("The adress of test1.b is \t0x%x, the length \tis%d\n", &test1.b, sizeof(test1.b));
    printf("The adress of test1.c is \t0x%x, the length \tis%d\n", &test1.c, sizeof(test1.c));
    printf("The adress of test1.e is \t0x%x, the length \tis%d\n", &test1.e, sizeof(test1.e));
    printf("The adress of test1.f is \t0x%x, the length \tis%d\n", &test1.f, sizeof(test1.f));
    printf("The adress of test1.g is \t0x%x, the length \tis%d\n", &test1.g, sizeof(test1.g));
    return 0;
}

